--DO NOT MODIFY THIS FILE. IT IS ALWAYS OVERWRITTEN ON GENERATION.
--Audit Triggers For Version 0.0.0.0

--##SECTION BEGIN [AUDIT TRIGGERS]

--DROP ANY AUDIT TRIGGERS FOR [dbo].[actor]
if exists(select * from sysobjects where name = '__TR_actor__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_actor__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_actor__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_actor__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_actor__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_actor__DELETE]
GO

--DROP ANY AUDIT TRIGGERS FOR [dbo].[address]
if exists(select * from sysobjects where name = '__TR_address__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_address__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_address__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_address__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_address__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_address__DELETE]
GO

--DROP ANY AUDIT TRIGGERS FOR [dbo].[category]
if exists(select * from sysobjects where name = '__TR_category__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_category__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_category__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_category__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_category__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_category__DELETE]
GO

--DROP ANY AUDIT TRIGGERS FOR [dbo].[city]
if exists(select * from sysobjects where name = '__TR_city__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_city__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_city__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_city__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_city__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_city__DELETE]
GO

--DROP ANY AUDIT TRIGGERS FOR [dbo].[country]
if exists(select * from sysobjects where name = '__TR_country__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_country__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_country__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_country__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_country__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_country__DELETE]
GO

--DROP ANY AUDIT TRIGGERS FOR [dbo].[customer]
if exists(select * from sysobjects where name = '__TR_customer__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_customer__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_customer__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_customer__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_customer__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_customer__DELETE]
GO

--DROP ANY AUDIT TRIGGERS FOR [dbo].[film]
if exists(select * from sysobjects where name = '__TR_film__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_film__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_film__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_film__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_film__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_film__DELETE]
GO

--DROP ANY AUDIT TRIGGERS FOR [dbo].[film_actor]
if exists(select * from sysobjects where name = '__TR_film_actor__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_film_actor__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_film_actor__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_film_actor__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_film_actor__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_film_actor__DELETE]
GO

--DROP ANY AUDIT TRIGGERS FOR [dbo].[film_category]
if exists(select * from sysobjects where name = '__TR_film_category__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_film_category__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_film_category__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_film_category__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_film_category__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_film_category__DELETE]
GO

--DROP ANY AUDIT TRIGGERS FOR [dbo].[film_text]
if exists(select * from sysobjects where name = '__TR_film_text__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_film_text__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_film_text__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_film_text__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_film_text__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_film_text__DELETE]
GO

--DROP ANY AUDIT TRIGGERS FOR [dbo].[inventory]
if exists(select * from sysobjects where name = '__TR_inventory__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_inventory__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_inventory__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_inventory__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_inventory__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_inventory__DELETE]
GO

--DROP ANY AUDIT TRIGGERS FOR [dbo].[language]
if exists(select * from sysobjects where name = '__TR_language__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_language__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_language__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_language__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_language__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_language__DELETE]
GO

--DROP ANY AUDIT TRIGGERS FOR [dbo].[payment]
if exists(select * from sysobjects where name = '__TR_payment__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_payment__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_payment__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_payment__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_payment__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_payment__DELETE]
GO

--DROP ANY AUDIT TRIGGERS FOR [dbo].[rental]
if exists(select * from sysobjects where name = '__TR_rental__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_rental__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_rental__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_rental__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_rental__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_rental__DELETE]
GO

--DROP ANY AUDIT TRIGGERS FOR [dbo].[staff]
if exists(select * from sysobjects where name = '__TR_staff__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_staff__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_staff__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_staff__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_staff__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_staff__DELETE]
GO

--DROP ANY AUDIT TRIGGERS FOR [dbo].[store]
if exists(select * from sysobjects where name = '__TR_store__INSERT' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_store__INSERT]
GO
if exists(select * from sysobjects where name = '__TR_store__UPDATE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_store__UPDATE]
GO
if exists(select * from sysobjects where name = '__TR_store__DELETE' AND xtype = 'TR')
DROP TRIGGER [dbo].[__TR_store__DELETE]
GO

--##SECTION END [AUDIT TRIGGERS]

